package com.lcq.demo.common.converter;

import com.lcq.demo.entity.dto.ProductDTO;
import com.lcq.demo.entity.po.Product;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author 240701005
 */
@Mapper
public interface ProductDTOConverter {

    ProductDTOConverter INSTANCE = Mappers.getMapper(ProductDTOConverter.class);

    Product convertToPo(ProductDTO productDTO);

}
